﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

static class Role
{
    public static void UserLogin(Form frm)
    {
        if (frm == null)
        {
            return;
        }
        if (ApplictionData.CurrentUser == null)
        {
            frm.Dispose();
        }
    }
}